package com.xbongbong.saas.model;

import com.xbongbong.saas.domain.entity.WriteOffRecordEntity;

import java.util.List;
import java.util.Map;


/**
 * @author bomfish
 */
public interface WriteOffRecordModel {
   Long insert(WriteOffRecordEntity entity);

   void insertBatch(List<WriteOffRecordEntity> list);

   List<WriteOffRecordEntity> findEntities(Map<String, Object> param);

   Integer getEntityCount(Map<String, Object> param);

   void update(WriteOffRecordEntity entity);

   WriteOffRecordEntity getByKey(Long key, String corpid);
}
